Automattic\WooCommerce\Blocks\BlockTypes\Checkout S

Total Complexity 47
Dependencies 3
Dependents 1
Total lines 429
Lines of code 265
Logical lines of code 117
Comment lines 122
Methods 13
Properties 2

Methods 13

Method Rating Maintainability Complexity Lines of code
enqueue_data()
B
34 15 100
render()
A
43 9 53
hydrate_customer_payment_methods()
S
54 4 21
is_block_editor()
S
68 4 7
include_token_id_with_payment_methods()
S
62 4 10
get_checkout_block_types()
S
53 1 26
get_block_type_editor_script()
S
66 2 8
get_block_type_script()
S
66 2 8
is_checkout_endpoint()
S
79 2 3
enqueue_assets()
S
74 1 5
get_enabled_payment_gateways()
S
67 1 9
hydrate_from_api()
S
66 1 8
register_block_type_assets()
S
68 1 7